package net.zoneland.knowledge.service;

import java.util.List;
import net.zoneland.knowledge.model.Resource;
import net.zoneland.knowledge.model.Role;
import net.zoneland.knowledge.model.TreeNode;

/**
 * .
 *
 * @author: bcc
 * 2021/6/4
 */
public interface ResourceService {

    Resource getById(String id);

    List<Resource> findResourceByRoles(List<Role> roleList);

    List<TreeNode<Resource>> findMenuByRoles(List<Role> roleList);
}
